<html>
<head><meta charset="utf-8"><title>lib-std-tvos · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/lib-std-tvos.html">lib-std-tvos</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="244401531"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/lib-std-tvos/near/244401531" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Hindrik Stegenga <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/lib-std-tvos.html#244401531">(Jun 30 2021 at 10:09)</a>:</h4>
<p>Hello there! I was suggested to ask here from #t-libs/lib-std-on-tvos, as I can currently get libstd to somewhat compile after modifying libc/std sources, but for some reason the resulting library file is invalid, as it contains aarch64 code, but xcode complains it's a macos library file. Anyone an idea where is defined what libc is linked to? I suspect it might link to macos' libc.</p>



<a name="244429312"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/lib-std-tvos/near/244429312" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/lib-std-tvos.html#244429312">(Jun 30 2021 at 14:13)</a>:</h4>
<p>The libc crate is used for this. <a href="https://github.com/rust-lang/libc">https://github.com/rust-lang/libc</a>.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>